import _fetch from "api_liuhaojie/fetch";
/**
 * 根据类型查询商品信息
 * @param { Object } data 请求参数
 * {
 *   type undefined
 * }
 * @responses { Object } 返回参数
 * {
 *   goodsNo undefined
 *   couponName undefined
 *   business undefined
 *   stockNum undefined
 *   couponsOutNickname undefined
 *   couponSuffixName undefined
 * }
 */
export function queryGoodsListByType(data) {
  return _fetch({
    url: "backend/quanma/queryGoodsListByType",
    method: "POST",
    data: data,
    headers: {}
  });
}
/**
 * 查询淘券商品信息
 */
export function queryTypeList(data) {
  return _fetch({
    url: "backend/quanma/queryTypeList",
    method: "POST",
    data: data,
    headers: {}
  });
}